package com.test.jsonb;

import javax.json.bind.annotation.JsonbProperty;
import javax.naming.Binding;
import java.net.URL;
import java.time.LocalDate;
import java.util.List;

public class Magazine {
	@JsonbProperty(value="m_id",nillable=true)
	private String id;
	private String title;
	private Author author;
	private Float price;
	private int pages;
	private boolean inPrint;
	private Binding binding;
	private List<String> languages;
	private URL website;
	private String internalAuditCode; // Only has setter method
	private LocalDate published;
	private String alternativeTitle;
	   // Plumbing code removed for brevity
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public Author getAuthor() {
		return author;
	}
	public void setAuthor(Author author) {
		this.author = author;
	}
	public Float getPrice() {
		return price;
	}
	public void setPrice(Float price) {
		this.price = price;
	}
	public int getPages() {
		return pages;
	}
	public void setPages(int pages) {
		this.pages = pages;
	}
	public boolean isInPrint() {
		return inPrint;
	}
	public void setInPrint(boolean inPrint) {
		this.inPrint = inPrint;
	}
	public Binding getBinding() {
		return binding;
	}
	public void setBinding(Binding binding) {
		this.binding = binding;
	}
	public List<String> getLanguages() {
		return languages;
	}
	public void setLanguages(List<String> languages) {
		this.languages = languages;
	}
	public URL getWebsite() {
		return website;
	}
	public void setWebsite(URL website) {
		this.website = website;
	}
	public String getInternalAuditCode() {
		return internalAuditCode;
	}
	public void setInternalAuditCode(String internalAuditCode) {
		this.internalAuditCode = internalAuditCode;
	}
	public LocalDate getPublished() {
		return published;
	}
	public void setPublished(LocalDate published) {
		this.published = published;
	}
	public String getAlternativeTitle() {
		return alternativeTitle;
	}
	public void setAlternativeTitle(String alternativeTitle) {
		this.alternativeTitle = alternativeTitle;
	}
	   
	}